<template>
  <div class="menu">
    <div>稀土掘金（图）</div>
    <div>
      <router-link to="/kecheng">课程</router-link>
    </div>
    <div>
      <router-link to="/zhibo">直播</router-link>
    </div>
    <div>
      <router-link to="/movie">电影</router-link>
    </div>
    <div>
      <router-link to="/tieba">贴吧</router-link>
    </div>
  </div>
  <router-view></router-view>
</template>

<script setup>

</script>

<style scoped>
.menu {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #999;
}

.menu div {
  margin: 0 20px;
  font-size: 18px;
  color: black;
}
a {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  color: black;
}
a.router-link-active {
  background-color: #ccc;
  color: white;
}
</style>